﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MallDiscount.Data
{
    public class DiscountDbContext:DbContext
    {
        public DiscountDbContext():base("Name=DefaultConnection") {}
        public DbSet<CommArea> CommAreas { get; set; }
        public DbSet<Mall> Malls { get; set; }
        public DbSet<Brand> Brands { get; set; }
        public DbSet<Shop> Shops { get; set; }
        public DbSet<DiscountInfo> DiscountInfos { get; set; }
    }
}
